<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/simditor.css" />
		<script type="text/javascript" src="js/jquery.min.js"></script>
	</head>
	<body>
		<div style="width: 80%;margin-left: 10%;">
			<div>
				<a href="addFile.html">添加新的文章</a>
				<a href="selectList.html">文章列表</a>
			</div>
			<div style="width: 100%;text-align: center;height: 50px;font-size: 20px;">
				<span id="fileTitle">文章标题</span>
			</div>
			<div id="context">
			</div>
		</div>
		<script>
			
			$(document).ready(function(){ 
				var Ohref=window.location.href;
				var arrhref=Ohref.split("?id=");
				$.ajax({
					url:"http://127.0.0.1:10090/article/findById",
					type:'post',
					data:{id:arrhref[1]},
					dataType:'json',
					success:function(data){
						$("#context").html(data.obj.context)
					}
				})
			}); 
			
			
			
			
		</script>
	</body>
</html>
